@font-face {
  font-family: 'Bebas Kai';
  src: url('fonts/bebas-kai.woff2') format('woff2'),
    url('fonts/bebas-kai.woff') format('woff'),
    url('fonts/bebas-kai.ttf') format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('CormorantGaramond-Italic.eot');
  src: url('CormorantGaramond-Italic.eot?#iefix') format('embedded-opentype'),
    url('CormorantGaramond-Italic.woff2') format('woff2'),
    url('CormorantGaramond-Italic.woff') format('woff'),
    url('CormorantGaramond-Italic.ttf') format('truetype'),
    url('CormorantGaramond-Italic.svg#CormorantGaramond-Italic') format('svg');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

* {

  --primary-font-family: "Bebas-kai", sans-serif;
  --primary-color: #145A44;
  --secondary-color: #2A7A60;


}


body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  margin: 0;
  line-height: 30px;
}

h2 {
  font-family: var(--primary-font-family);
  font-weight: 400;
  font-size: 28px;

}

h5 {
  font-family: var(--primary-font-family);
  font-size: 25px;
}

/* Header and Nav styles moved to common.css */



:root {
  --primary-color: #145A44;
  --green-dark: #1e5444;
  --green-light: #d4e6df;
  --text: #222;
}



/* FORM AREA */
.form-wrapper {
  max-width: 1277px;
  margin: 60px auto 60px;
  padding: 0 20px;
}


/* SECTION CARD */
.section-card {
  background: #F3F3F3;
  border: solid 1px #c5c5c58e;
  border-radius: 0px;
  overflow: visible;
  margin-bottom: 28px;
}

.section-header {
  background: var(--primary-color);
  color: #fff;
  padding: 13px 20px;
  font-size: 18px;
  font-weight: 400;
  border-radius: 0px;
}

.section-body {
  padding: 0;
}

.row-group {
  padding: 0px 20px;
}

.row-group+.row-group {
  border-top: 1px solid #0000001f;
  margin: 0 20px;
  padding: 16px 0;
}

/* FORM CONTROLS */
label.form-label {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 5px;
  margin-top: 10px;
  display: block;
}

.form-control {
  border: 1px solid #CFCFCF;
  border-radius: 4px;
  background: #E5E2E2;
  font-size: 13.5px;
  color: #000000;
  padding: 7px 10px;
  height: 38px;
  width: 100%;
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-control:focus {
  border-color: #CFCFCF;
  background: #E5E2E2;
  box-shadow: none;
  outline: none;
}

.form-control::placeholder {
  color: #00000049;
}

/* DATE INPUT */
input[type="date"].date-input {
  text-transform: uppercase;
  color: #00000049;
}

input[type="date"].date-input.has-value {
  color: #000000;
}

input[type="date"].date-input::-webkit-datetime-edit {
  text-transform: uppercase;
}

input[type="date"].date-input::-webkit-datetime-edit-text,
input[type="date"].date-input::-webkit-datetime-edit-month-field,
input[type="date"].date-input::-webkit-datetime-edit-day-field,
input[type="date"].date-input::-webkit-datetime-edit-year-field {
  color: #00000049;
  text-transform: uppercase;
}

input[type="date"].date-input.has-value::-webkit-datetime-edit-text,
input[type="date"].date-input.has-value::-webkit-datetime-edit-month-field,
input[type="date"].date-input.has-value::-webkit-datetime-edit-day-field,
input[type="date"].date-input.has-value::-webkit-datetime-edit-year-field {
  color: var(--text);
}

input[type="date"].date-input::-webkit-calendar-picker-indicator {
  opacity: 0.4;
  cursor: pointer;
}

/* CUSTOM DROPDOWN */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #CFCFCF;
  border-radius: 5px;
  background: #E5E2E2;
  font-size: 13.5px;
  color: #00000049;
  padding: 7px 10px;
  height: 38px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, background 0.2s;
}

.custom-select-trigger.has-value {
  color: var(--text);
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  border-color: #CFCFCF;
  background: #E5E2E2;
}

.custom-select-trigger svg {
  flex-shrink: 0;
  margin-left: 6px;
  transition: transform 0.2s;
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dde8e4;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(30, 84, 68, 0.13);
  z-index: 9999;
  max-height: 220px;
  overflow-y: auto;
}

.custom-select.open .custom-select-menu {
  display: block;
}

.custom-select-option {
  padding: 9px 14px;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.custom-select-option:hover {
  background: var(--primary-color);
  color: #fff;
}

.custom-select-option.selected {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
}

.custom-select-option.selected:hover {
  background: var(--green-dark);
  color: #fff;
}

/* CHECKBOXES */
.check-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
}

.check-group input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.check-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13.5px;
}

.check-row span {
  font-weight: 500;
}

/* Two-column section cards side by side */
.split-section-row {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}

.split-section-row .section-card {
  flex: 1;
  margin-bottom: 0;
}

/* Inline label + input rows */
.inline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  padding: 10px 20px;

}

.inline-row+.inline-row {
  border-top: 1px solid #0000001f;
}

.inline-row span {
  white-space: nowrap;
  font-size: 13.5px;
}

.inline-row .form-control {
  flex: 1;
}

/* Behavior grid checkboxes */
.behavior-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
  padding: 12px 20px 14px;
}

/* Home visit two-col check rows */
.two-col-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 0;
  padding: 12px 20px;
}

.two-col-checks+.two-col-checks {
  border-top: 1px solid #0000001f;
}

/* Upload button */
.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #CFCFCF;
  background: #E5E2E2;
  border-radius: 4px;
  font-size: 13px;
  color: #444;
  padding: 5px 12px;
  cursor: pointer;
  height: 32px;
}

.upload-btn svg {
  opacity: 0.6;
}

/* Nav buttons */
.nav-bt {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-bt img {
  height: 40px;
}

.action-btn {
  border: 1.5px solid #1F3D2B;
  background: #FFF6E5;
  color: #1F3D2B;
  font-size: 16px;
  font-weight: 400;
  padding: 15px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.action-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.action-btn.filled:hover {
  background: var(--primary-color)
}





/* ─── FOOTER SHELL ─── */
footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 60px 80px 0;
}

/* ─── MAIN ROW ─── */
.footer-main-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}

/* ─── BRAND COL ─── */
.footer-col-brand {
  flex: 0 0 auto;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-logo img {
  width: 180px;
  height: 170px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.25));

}

.brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 24px;
  color: #fff;
  white-space: nowrap;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin-top: 2px;
  white-space: nowrap;
}

/* ─── VERTICAL DIVIDER ─── */
.v-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
  align-self: stretch;
  min-height: 140px;
  margin: 0 60px;
  flex-shrink: 0;
}

/* ─── LINKS & BUSINESS COLS ─── */
.footer-col-links,
.footer-col-business {
  flex: 0 0 auto;
}

.footer-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #fff;
}

.business-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-bottom: 12px;
}

/* ─── BOTTOM BAR ─── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  font-size: 16px;
  color: #fff;
}

/* ══════════════════════════════
       RESPONSIVE
    ══════════════════════════════ */

/* ── Medium tablets (992px – 1199px) ── */
@media (max-width: 1199px) {
  footer {
    padding: 50px 40px 0;
  }

  .v-divider {
    margin: 0 40px;
  }

  .foot-logo img {
    width: 150px;
    height: 140px;
  }

  .brand-text {
    font-size: 21px;
  }

  .footer-tagline {
    font-size: 14px;
  }
}

/* ── Small tablets (768px – 991px) ── */
@media (max-width: 991px) {
  footer {
    padding: 44px 28px 0;
  }

  .footer-main-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 32px;
  }

  .v-divider {
    display: none;
  }

  .footer-col-brand,
  .footer-col-links,
  .footer-col-business {
    flex: 1 1 200px;
    min-width: 160px;
    max-width: 260px;
  }

  .brand-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .foot-logo img {
    width: 120px;
    height: 110px;
  }

  .brand-text {
    font-size: 20px;
    white-space: normal;
  }

  .footer-tagline {
    font-size: 13px;
    white-space: normal;
  }
}

/* ── Mobile (max 767px) ── */
@media (max-width: 767px) {
  footer {
    padding: 36px 20px 0;
  }

  .footer-main-row {
    flex-direction: column;
    align-items: flex-start;
    /* LEFT align all columns */
    text-align: left;
    gap: 28px;
  }

  .footer-col-brand,
  .footer-col-links,
  .footer-col-business {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .footer-col-links,
  .footer-col-business {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 24px;
  }

  /* Brand block: logo + text side by side, left aligned */
  .brand-block {
    flex-direction: row;
    justify-content: flex-start;
    /* LEFT align */
    align-items: center;
    gap: 14px;
  }

  .brand-info {
    text-align: left;
  }

  .brand-text {
    white-space: normal;
    font-size: 19px;
  }

  .footer-tagline {
    white-space: normal;
    font-size: 13px;
  }

  .foot-logo img {
    width: 90px;
    height: 85px;
  }

  /* Links left aligned */
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* LEFT align */
  }

  .footer-bottom {
    margin-top: 32px;
    font-size: 0.8rem;
    text-align: center;
  }
}

/* ── Very small (max 380px) ── */
@media (max-width: 380px) {
  .brand-block {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    /* still LEFT */
  }

  .brand-info {
    text-align: left;
  }

  .foot-logo img {
    width: 75px;
    height: 70px;
  }

  .brand-text {
    font-size: 17px;
  }
}